import Layout from '@/layout';
export default {
	path: '/inventory',
	component: Layout,
	redirect: '/inventory/inventoryRecords',
	name: 'inventory',
	meta: { title: '盘点记录', icon: 'product-list', roles: true },
	children: [
		{
			path: 'inventoryRecords',
			name: 'inventoryRecords',
			component: () => import('@/views/inventory/inventoryRecords'),
			meta: { title: '盘点记录', icon: '' }
		},
		{
			path: 'detail',
			name: 'detail',
			hidden: true,
			component: () => import('@/views/inventory/detail'),
			meta: { title: '盘点记录详情', icon: '' }
		}
	]
};
